package org.wmq.transferordersystem.service.impl.impl;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.wmq.transferordersystem.dao.LogisticsDao;
import org.wmq.transferordersystem.model.Entity.Logistics;
import org.wmq.transferordersystem.service.LogisticsService;

@Service
@RequiredArgsConstructor
public class LogisticsServiceImpl implements LogisticsService {
    private final LogisticsDao logisticsDao;

    @Override
    public boolean save(Logistics logistics) {
        return this.logisticsDao.insert(logistics);
    }
}
